
<form class="form-inline">
<div class="control-group">
<div class="controls">
<input type="hidden" name="module" value="{$WEB_APP.module}">
<select name = "field">
		{foreach from = $WEB_APP.columns item = column}
			<option value = "{$column->title|escape}" {if $WEB_APP.field eq $column->title}SELECTED{/if}>{$column->name|escape}</option>
		{/foreach}		
	</select> 
	<input type = "text" name = "text" size=40 value="{$WEB_APP.text_field|escape}"> 
	<input type = "submit" class = "btn" value = "{$text.txt_filter}">
</div>
</div>
</form>

